package com.example.dao;

import com.example.entity.User;
import org.apache.ibatis.annotations.Param;
import java.util.List;

public interface UserDao {
    User findByUsername(String username);
    List<User> findAll();
    int insert(User user);
    int update(User user);
    int delete(Long id);
    User findById(Long id);
} 